import { Cns } from "./cns";
import { CnsService } from "./cnsService";

module.exports = function(httpServer) {
  	let server= new CnsService({
        port: "8899",
        server:httpServer
    });

    server.start();
    server.listen();
    Cns.Current.Regist(server);
};